package cn.join.ideer.common.vo;

import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author shinyiqi
 */
@Data
@ToString
public class TokenRequestVo {
    @NotNull(message = "用户信息不能为空")
    @Min(value = 1, message = "uid必须为正整数")
    private Long uid;
    @NotBlank(message = "token不能为空")
    private String token;
}
